package com.code.util;

import java.util.HashMap;
import java.util.Map;

public class JavaTypeConstant {
	public static Map<String, String> javaTypes = new HashMap<String, String>();
	public static Map<String, String> packageJavaTypes = new HashMap<String, String>();
	public static Map<String,String> dcTypes=new HashMap<String,String>();
	public static Map<String, String> mapTypes = new HashMap<String, String>();
	public static Map<String, String> listTypes = new HashMap<String, String>();
	public static Map<String, String> mappingTypes = new HashMap<String, String>();

	static {
		javaTypes.put("byte", "byte");
		javaTypes.put("short", "short");
		javaTypes.put("int", "int");
		javaTypes.put("long", "long");
		javaTypes.put("float", "float");
		javaTypes.put("double", "double");
		javaTypes.put("boolean", "boolean");
		javaTypes.put("char", "char");
		javaTypes.put("java.lang.String", "java.lang.String");
		javaTypes.put("String", "java.lang.String");

		packageJavaTypes.put("java.lang.Byte", "java.lang.Byte");
		packageJavaTypes.put("java.lang.Short", "java.lang.Short");
		packageJavaTypes.put("java.lang.Integer", "java.lang.Integer");
		packageJavaTypes.put("java.lang.Long", "java.lang.Long");
		packageJavaTypes.put("java.lang.Float", "java.lang.Float");
		packageJavaTypes.put("java.lang.Double", "java.lang.Double");
		packageJavaTypes.put("java.lang.Boolean", "java.lang.Boolean");
		packageJavaTypes.put("java.sql.Timestamp", "java.sql.Timestamp");
		packageJavaTypes.put("java.sql.Date", "java.sql.Date");
		packageJavaTypes.put("java.util.Date", "java.util.Date");
		packageJavaTypes.put("Timestamp", "java.sql.Timestamp");
		packageJavaTypes.put("Date", "java.sql.Date");
		packageJavaTypes.put("Byte", "java.lang.Byte");
		packageJavaTypes.put("Short", "java.lang.Short");
		packageJavaTypes.put("Integer", "java.lang.Integer");
		packageJavaTypes.put("Long", "java.lang.Long");
		packageJavaTypes.put("Float", "java.lang.Float");
		packageJavaTypes.put("Double", "java.lang.Double");
		packageJavaTypes.put("Boolean", "java.lang.Boolean");

		mapTypes.put("java.util.Map", "java.util.Map");
		mapTypes.put("Map", "java.util.Map");
		mapTypes.put("HashMap", "java.util.HashMap");
		mapTypes.put("java.util.HashMap", "java.util.HashMap");

		listTypes.put("java.util.List", "java.util.List");
		listTypes.put("List", "java.util.List");
		listTypes.put("ArrayList", "java.util.ArrayList");
		listTypes.put("java.util.ArrayList", "java.util.ArrayList");

		dcTypes.put("com.ai.appframe2.common.DataContainerInterface", "com.ai.appframe2.common.DataContainerInterface");
		dcTypes.put("DataContainerInterface", "com.ai.appframe2.common.DataContainerInterface");
		dcTypes.put("com.ai.appframe2.bo.DataContainer", "com.ai.appframe2.bo.DataContainer");
		dcTypes.put("DataContainer", "com.ai.appframe2.bo.DataContainer");
		 
		mappingTypes.putAll(javaTypes);
		mappingTypes.putAll(packageJavaTypes);
		mappingTypes.putAll(mapTypes);
		mappingTypes.putAll(listTypes);
		mappingTypes.putAll(dcTypes);

	}
}
